package com.yjf.ljr.dataclass;

import java.io.Serializable;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.yjf.ljr.parser.DataClass;

public class CustomerDetailDataClass extends DataClass  {

	@Expose	// 投资接受记录
	@SerializedName("investorBaseInfo")
	public CustomerDetailInfo customerDetailInfo;
	
	@Override
	public boolean copy(DataClass valueClass) {
		if (valueClass == null || !(valueClass instanceof CustomerDetailDataClass)) {
			return false;
		}
		this.code = ((CustomerDetailDataClass) valueClass).code;
		this.msg = ((CustomerDetailDataClass) valueClass).msg;
		this.customerDetailInfo = ((CustomerDetailDataClass) valueClass).customerDetailInfo;
		return true;
	}

	public static class CustomerDetailInfo implements Serializable {
		private static final long serialVersionUID = 1L;
		
		@Expose	// 用户名
		public String userName;
		
		@Expose	// 真实姓名
		public String realName;
		
		@Expose	// 电子邮箱
		@SerializedName("mail")
		public String email;
		
		@Expose	// 身份证号码
		@SerializedName("certNo")
		public String idNo;

		@Expose	// 手机号码
		public String mobile;

		@Expose	// 状态
		@SerializedName("state")
		public String accountState;
	}
}
